<!DOCTYPE html>
<head>
	<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>San Diego Convention Center: 18 Months Calendar of Events - trade shows, exhibits, community events, corporate conferences</title>
	<link rel='stylesheet' href="<?php echo bloginfo("stylesheet_directory"); ?>/styles18month.css" TYPE="text/css">
</head>
<body>
<center>



<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr><td width="100%" align="center">
			<table border="0" cellpadding="0" cellspacing="0" width="99%" bgcolor="ffffff">
				<tr>
					<td valign="top">&nbsp;</td>
				</tr>
				<tr>
					<td valign="top" class="pagecontent">
<img src="<?php echo bloginfo("stylesheet_directory"); ?>/images/header_18month.gif">
<br>

<table width="100%" border="0">

	
	<tr class="eventsCalendar">
		<td>
			
  <table width="98%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><h1> 18-MONTH CALENDAR</h1></td>
      <td align="right" valign="top"><a href="javascript:window.print();">Print this page</a></td>
    </tr>
  </table>
  <p> Events scheduled at the San Diego Convention Center,					
    111 West Harbor Drive, San Diego, CA 92101</p>
  <p>
	<?php
		wp_reset_query();// Reset Query
		$beginweek = strtotime("0:0:0",time()-date('w')*24*3600);
		$endweek = strtotime("+18 month", $beginweek);
		$args = array(
							'post_type'=> 'vs_event',
							'order'    => 'ASC',
							'orderby' => 'begindate'
						);
		$_REQUEST['scope'] = '18-months';
		query_posts( $args );
	?>  
     From <b><?php echo date("m/d/Y", $beginweek); ?></b> to <b><?php echo date("m/d/Y", $endweek); ?></b><br>
    <br>
</p> 
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td width="1"  bgcolor="#247AB3" align="left"></td>
					<td>
					
						<table border="0" cellspacing="0" cellpadding="0" width="100%">
							<tr>
								<td colspan="2" height="1" bgcolor="#FFFFFF"></td>
							</tr>	
							<tr>
								<td colspan="2" height="1" bgcolor="#247AB3"></td>
							</tr>
							<tr class="tablesubhead">
								<td align="left" width="1" bgcolor="#FFFFFF"></td>
								<td align="center">
									<table width="100%" border="0" cellpadding="0" cellspacing="5">
								  <tr>
											<td width="40%" align="left"><b>Event Name</b></td>
											<td width="18%" align="center"><b>Date</b></td>
										  <td width="22%" align="center"><strong>Type</strong></td>
								    <td width="10%" align="center"><strong>Attendance</strong></td>
								    <td width="10%" align="center"><strong>Open to Public</strong></td>
									  </tr>
							  </table>								</td>
								<td align="right" width="1" bgcolor="#FFFFFF"></td>
							</tr>
							<tr>
								<td colspan="3" height="1" bgcolor="#247AB3"></td>
							</tr>
						</table>
						<table border="0" cellspacing="4" cellpadding="0" width="100%">
						<?php 	if ( have_posts()):
								while (have_posts()):
								the_post();
						?>
								<tr valign="top">
									<td width="40%" align="left"><?php the_title(); ?></td>
									<td width="18%" align="center"><?php echo date('m/d/Y', get_post_meta(get_the_ID(), 'begindate', true)).' - '.date('m/d/Y', get_post_meta(get_the_ID(), 'enddate', true)); ?></td>
									<td width="22%" align="center"><?php echo get_post_meta(get_the_ID(), 'type', true);?></td>
									<td width="10%" align="center"><?php echo get_post_meta(get_the_ID(), 'attendance', true);?></td>
									<td width="10%" align="center"><?php echo get_post_meta(get_the_ID(), 'isprivate', true)?"No":"Yes";?></td>
								</tr>
								
								<?php global $wp_query; if($wp_query->current_post+1<$wp_query->post_count): ?>
									<tr>
										<td bgcolor="#D8E8F1" height="1" valign="top" colspan="6"></td>
									</tr>
								<?php endif; ?>
							<?php endwhile;
								wp_reset_query();// Reset Query
							?>
							<?php else: ?>
							<tr valign="top">
								No events scheduled in next 18 months.
							</tr>
							<?php endif; ?>
						</table>
				  					</td>
					<td width="1"  bgcolor="#247AB3" align="right"></td>					
				</tr>
			</table>		</td>
	</tr>
	<tr><td height="1" bgcolor="#247AB3"></td></tr>
</table>


<p>&nbsp;</p>
<p>THE ABOVE LISTING INCLUDES &quot;CONTRACTED&quot; &amp; &quot;DEFINITE&quot; BOOKINGS ONLY					 </p>
<p>*EVENTS SUBJECT TO CHANGE*					 </p>
<p>*FOR FURTHER INFORMATION VISIT OUR WEBSITE AT WWW.VISITSANDIEGO.COM OR CALL 619-525-5000* </p>
<p><img src="<?php echo bloginfo("stylesheet_directory"); ?>/images/SDCCC_SunLogosm.gif"></p>

		</td>
	</tr>
</table>

				  </td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
		  </table>
		</td>
	</tr>
</table>

</center>
</body>
</html>